<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>修改</title>
</head>
<body>
<form action="updateFood" method="post" enctype="multipart/form-data">
<h1 align="center">美食修改</h1>
ID: <input type="text" name="id"  value="${food.id}">
名称：<input type="text" name="name"  value="${food.name}"><br>
价格：<input type="text" name="price" value="${food.price}"><br>
描述：<input type="text" name="describes" value="${food.describes}"><br>
折后价：<input type="text" name="disprice"   value="${food.disprice}"><br>
地址：<input type="text" name="address" value="${food.address}" ><br>

<input type="file" name="file1" value="${food.img }">
<input type="submit" value="修改">
<a href="foodfoundAll">返回</a>
</form>
       	  <img alt="" src="${pageContext.request.contextPath}/img/${food.img}">
</body>
</html>